package com.gdones.gpt.bus.activecode.dto;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author GaoJingBo
 * @since 2023-06-03
 */
@Getter
@Setter
@TableName("t_gpt_activation_code")
@ApiModel(value = "GptActivationCode对象", description = "")
public class GptActivationCode implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("激活码唯一主键")
    @TableId(value = "codeID", type = IdType.ASSIGN_UUID)
    private String codeID;

    @ApiModelProperty("插入时间")
    @TableField(fill = FieldFill.INSERT)
    private Date insertTime;

    @ApiModelProperty("插入id")
    private String insertID;

    @ApiModelProperty("插入ip")
    private String insertIP;

    @ApiModelProperty("修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty("修改id")
    private String updateID;

    @ApiModelProperty("修改ip")
    private String updateIP;

    @ApiModelProperty("是否删除：0 否 1 是")
    @TableLogic
    private Integer isDelete;

    @ApiModelProperty("备注")
    private String comment;

    @ApiModelProperty("数据权限id")
    private String permissionID;

    @ApiModelProperty("操作者本机macID")
    private String localID;

    @ApiModelProperty("激活码")
    private String activeCode;

    @ApiModelProperty("被激活时间")
    private Date activeTime;

    @ApiModelProperty("关联客户id")
    private String staffID;

    @ApiModelProperty("关联客户名")
    private String staffName;

    @ApiModelProperty("关联模板")
    private String templateID;

    @ApiModelProperty("激活卡类型code： 1. 日卡 2.月卡（31天） 3.年卡（365天） 4.终身")
    private String activeCodeTypeCode;

    @ApiModelProperty("激活卡类型name")
    private String activeCodeTypeName;

    @ApiModelProperty("激活日子天数")
    private Integer activeDays;


}
